package org.tea.inventory.db.service;

import org.tea.inventory.db.domain.Storage;
import org.springframework.web.multipart.MultipartFile;

import java.nio.file.Path;

public interface StorageService {

    Storage store(MultipartFile file);

    Storage store(MultipartFile file, String imgBelongs);


    Path load(String filename);


    void deleteById(Integer fileId);

    String loadFullFilePath(String filePath);
}